package com.cole.miniapp.project.annotation.support;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.List;

/**
 * 将登录注解拦截加入拦截器配置
 * @author cole
 *
 */
@Configuration
public class LoginStoreHandlerWebMvcConfiguration implements WebMvcConfigurer {
	@Override
	public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
		argumentResolvers.add(new LoginStoreHandlerMethodArgumentResolver());
	}
}
